net/yate: Remove uclibc++.mk include
authorSebastian Kemper <[email protected]>
Sun, 18 Feb 2018 09:04:18 +0000 (10:04 +0100)
committerSebastian Kemper <[email protected]>
Sun, 18 Feb 2018 09:04:23 +0000 (10:04 +0100)
With this include libuClibc++.so.0 gets added as a lib depend, even on
musl. readelf shows:

  Dynamic section at offset 0x10ea60 contains 23 entries:
    Tag        Type                         Name/Value
   0x0000000000000001 (NEEDED)             Shared library: [libuClibc++.so.0]
   0x0000000000000001 (NEEDED)             Shared library: [libc.so]
   0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
   0x000000000000000e (SONAME)             Library soname: [libyate.so.6.0.0]

Remove the include from the Makefile and add a depend on libstdcpp
instead.

Signed-off-by: Sebastian Kemper <[email protected]>
net/yate/Makefile

index ca92770685372a7ceccf498b27fd26a25a6e34b8..72d898eebe810cc9c635de499ddd4086fce2b5d8 100644 (file)
@@ -30,7 +30,6 @@ PKG_INSTALL:=1
 # Yate currently does not compile with FORTIFY_SOURCE enabled
 PKG_FORTIFY_SOURCE:=0
 
-include $(INCLUDE_DIR)/uclibc++.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/$(PKG_NAME)/Default
@@ -42,7 +41,7 @@ endef
 
 define Package/$(PKG_NAME)
   $(call Package/yate/Default)
-  DEPENDS:=+libpthread $(CXX_DEPENDS)
+  DEPENDS:=+libpthread +libstdcpp
   TITLE:=Yet Another Telephony Engine
   MENU:=1
 endef